package router

import (
	v1 "gin-vue-admin/api/v1"

	"github.com/gin-gonic/gin"
)

func InitCustomProcessBaseGoodsRelRouter(Router *gin.RouterGroup) {
	CustomProcessBaseGoodsRelRouter := Router.Group("customProcessBaseGoodsRel")
	// CustomProcessBaseGoodsRelRouter := Router.Group("customProcessBaseGoodsRel").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()).Use(middleware.OperationRecord())
	{
		CustomProcessBaseGoodsRelRouter.POST("createCustomProcessBaseGoodsRel", v1.CreateCustomProcessBaseGoodsRel)             // 新建CustomProcessBaseGoodsRel
		CustomProcessBaseGoodsRelRouter.DELETE("deleteCustomProcessBaseGoodsRel", v1.DeleteCustomProcessBaseGoodsRel)           // 删除CustomProcessBaseGoodsRel
		CustomProcessBaseGoodsRelRouter.DELETE("deleteCustomProcessBaseGoodsRelByIds", v1.DeleteCustomProcessBaseGoodsRelByIds) // 批量删除CustomProcessBaseGoodsRel
		CustomProcessBaseGoodsRelRouter.PUT("updateCustomProcessBaseGoodsRel", v1.UpdateCustomProcessBaseGoodsRel)              // 更新CustomProcessBaseGoodsRel
		CustomProcessBaseGoodsRelRouter.GET("findCustomProcessBaseGoodsRel", v1.FindCustomProcessBaseGoodsRel)                  // 根据ID获取CustomProcessBaseGoodsRel
		CustomProcessBaseGoodsRelRouter.GET("getCustomProcessBaseGoodsRelList", v1.GetCustomProcessBaseGoodsRelList)            // 获取CustomProcessBaseGoodsRel列表
	}
}
